package com.smcaiot.jfttask.south.port;

import com.smcaiot.core.stereotype.Port;
import com.smcaiot.core.stereotype.PortType;
import com.smcaiot.jfttask.domain.*;

/**
 * @Author: cz
 * @Date: 2023/10/7
 * @Description:
 */
@Port(PortType.Repository)
public interface TaskFlowRepository {
    TaskFlowId saveTaskFlow(TaskId taskId, TaskBatchId taskBatchId, TaskFlowStatus taskFlowStatus);

    void deleteByTaskFlowId(TaskFlowId taskFlowId);

    TaskFlow findByTaskFlowId(TaskFlowId taskFlowId);
}
